import { alType, arType } from '../../type'
// 歌曲详情
export interface songDetailType {
  name: String //歌曲标题
  id: number //歌曲ID
  t: number
  ar: arType[] //歌手列表
  alia: [] //别名列表，第一个别名会被显示作副标题
  pop: number //小数，常取[0.0, 100.0]中离散的几个数值, 表示歌曲热度
  fee: number // fee 为 1 或 8 的歌曲均可单独购买 2 元单曲
  dt: number //时长
  originCoverType: number //0: 未知 1: 原曲2: 翻唱
  mv: number // 非零表示有MV ID
  al: alType //专辑信息
}
// 获取歌曲url返回类型
export interface songsUrlType {
  id: number
  url: string
  br: number
  size: number
  md5: string
  code: number
  expi: number
  type: string
  gain: number
  peak: number
  closedGain: number
  closedPeak: number
  fee: number
  uf: null
  payed: number
  flag: number
  canExtend: boolean
  freeTrialInfo: null
  level: string
  encodeType: string
  channelLayout: null
  freeTrialPrivilege: {
    resConsumable: boolean
    userConsumable: boolean
    listenType: null
    cannotListenReason: null
    playReason: null
    freeLimitTagType: null
  }
  freeTimeTrialPrivilege: {
    resConsumable: boolean
    userConsumable: boolean
    type: number
    remainTime: number
  }
  urlSource: number
  rightSource: number
  podcastCtrp: null
  effectTypes: null
  time: number
  message: null
  levelConfuse: null
  musicId: string
}
